SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}Denia-La{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}' OR prCity = 'Denia-La' OR prZip = 'Denia-La' OR prStreet LIKE '{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}Denia-La{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}' OR prCountry = 'Denia-La') AND (prLocation LIKE '{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}Sella{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}' OR prCity = 'Sella' OR prZip = 'Sella' OR prStreet LIKE '{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}Sella{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}' OR prCountry = 'Sella') AND (prLocation LIKE '{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}Spain{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}Spain{b5efc745fcb0126526992217d199c9f952d913d9391da0fe1efc317da8e734a4}' OR prCountry = 'Spain')